﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Controller
{
    public class ControllerConfig
    {
        //----------------------------------------
        public const int ErrorForeignKey = 547;
        //----------------------------------------
        #region Properties
        // static Default.
        private static ControllerConfig _Default;
        public static ControllerConfig Default
        {
            get
            {
                if (_Default == null)
                {
                    _Default = new ControllerConfig();
                }
                return _Default;
            }
            set { _Default = value; }
        }
        // UserId.
        private int _UserId;
        public int UserId
        {
            get { return _UserId; }
            set { _UserId = value; }
        }
        // UserName.
        private string _UserName;
        public string UserName
        {
            get { return _UserName; }
            set { _UserName = value; }
        }
        // Password.
        private string _Password;
        public string Password
        {
            get { return _Password; }
            set { _Password = value; }
        }
        #endregion Properties
    }
}
